﻿<Application x:Class="WinDataInspector.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:WinDataInspector"
             xmlns:mscorlib="clr-namespace:System;assembly=mscorlib"
             xmlns:system="clr-namespace:System;assembly=System"  
             xmlns:commands="clr-namespace:WinDataInspector.Commands"
             Startup="Application_Startup"
             Exit="Application_Exit"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        
        <mscorlib:String x:Key="AppTitle">Win Data Inspector</mscorlib:String>

        <system:Uri x:Key="Apphomepage">http://windatainspector.codeplex.com/</system:Uri>
        <system:Uri x:Key="Companyhomepage">http://starredmediasoft.com</system:Uri>
        <system:Uri x:Key="DonationUrl">https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=fabrizio.stellato%40gmail.com&amp;item_name=Starred MediaSoft&amp;item_number=Win Log Analyzer</system:Uri>

        <Style TargetType="{x:Type Hyperlink}" x:Key="BaseHyperlink">
            <Setter Property="Command" Value="{x:Static commands:Commands.OpenUrlCommand}"></Setter>
            <Setter Property="CommandParameter" Value="{Binding RelativeSource={RelativeSource Self}, Path=NavigateUri}" />
            <Setter Property="TextDecorations" Value="{x:Null}" />
        </Style>
        
        <LinearGradientBrush x:Key="TitleBrush" StartPoint="0,0" EndPoint="1,1">
            <GradientStop Color="#E0E0FF" Offset="0" />
            <GradientStop Color="#CCCFFF" Offset="0.7"/>
            <GradientStop Color="#E0E0FF" Offset="1" />

        </LinearGradientBrush>
        
    </Application.Resources>
</Application>
